package com.tuyue.police.biz;

import com.tuyue.police.bean.DeviceBean;
import com.tuyue.police.pojo.Device;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * @Author: 王金海
 * @Description:
 * @Date: Created by Administrator on 2018/3/14.
 * @Modified By:
 */
public interface IDeviceBiz {

    DeviceBean add(DeviceBean deviceBean);

    Page<Device> findByUserId(Long userId, Pageable pageable);


    DeviceBean findById(Long deviceId);

}
